package com.fourth.shopping.service;

import com.fourth.entity.Administrator;
import com.fourth.entity.Role;
import com.fourth.shopping.commons.Code;

import java.util.List;

public interface LoginService {

    /**
     * 后台登录
     * @return
     */
    Administrator Login(String username, String password);


    /**
     * 获取权限
     * @return
     */
    List<Role> getRole(String username);

}
